package org.sys.transporttrainsys.repository;

import org.sys.transporttrainsys.entity.TrainingType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TrainingTypeRepository extends JpaRepository<TrainingType, Long> {
    List<TrainingType> findByTypeNameContainingIgnoreCase(String name);
}